package com.iss.okair.controller.assetstrans;

import com.iss.okair.db.entity.AssetsTranUse;
import com.iss.okair.db.entity.Assetstrans;
import com.iss.okair.service.trans.FinalTransCheckoutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("logic/trans/finance")
public class FinalTransCheckoutController {
    @Autowired
    private FinalTransCheckoutService service;
    @RequestMapping("/checkout/list")
    public List<AssetsTranUse> selectout(AssetsTranUse model){
        return service.slectout(model);
    }

}
